<html>
<head>
<title> Predefining Content for New Web Sites </title>
<meta name="Keywords" content="" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="stylesheet.css"/>
<script src="locate.js"></script>
<link href="prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="prettify.js"></script>
</head>
<script src="highlight.js"></script>
<body bgcolor="#FFFFFF" text="#000000" link="#0000A0" alink="#008000" vlink="#FF0000" onLoad="FindCorrectTOCPage(); prettyPrint()">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td>
<p class="pagenavigation"><a href="25052.htm" target="_self"><img src="38976.gif" alt="Previous page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"> Previous page</a></p></td>
<td>
<p class="pagenavigation"><a href="25053.htm" target="_self"><img src="38977.gif" alt="Next page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"> Next page</a></p></td>
<td>
<p class="pagenavigation"><a href="toc4151939.htm" target="TOC"><img src="38970.gif" alt="Locate page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"> Locate page</a></p></td>
<td>
<p class="pagenavigation"><a href="toc4151939.htm" target="TOC"><a class="" title="" href="javascript:print();" target="_self"><img src="39072.gif" alt="Print this page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"></a></a></p></td>
</tr>
</table>
<h2 class="heading2">Predefining Content for New Web Sites</h2>
<p class="bodytext">You can set your control panel to automatically include specific files and directories into Web spaces created for newly hosted Web sites. This can be a set of useful scripts, custom error messages, a placeholder index.html page, or any other files of your choice. These files can then be replaced, edited or removed on a per-site basis.</p>
<p class="bodytext">To set up the control panel so as to automatically include your web content into web spaces:</p>
<ol class="procedurelistnumber"><li class="procedurelistnumber">On your local file system, create the required directories: <code class="monospace">httpdocs</code>, <code class="monospace">httpsdocs</code>, <code class="monospace">cgi-bin</code>, <code class="monospace">anon_ftp</code>, <code class="monospace">error_docs</code>.</li><li class="procedurelistnumber">Place the files you need into the directories you have created: Place web pages into <code class="monospace">httpdocs</code> and <code class="monospace">httpsdocs</code> directories, scripts to <code class="monospace">cgi-bin</code> directory, and custom error messages to <code class="monospace">error_docs</code> directory.</li><li class="procedurelistnumber">Pack the directories and files into an archive file in tgz, tar, tar.gz, or zip format. <p class="listcontinue">Make sure that the directories are in the root of the archive file and not in a subdirectory.</p>
</li><li class="procedurelistnumber">Log in to your Plesk control panel.</li><li class="procedurelistnumber">On your Home page, click the <strong class="specialbold">Skeleton</strong> icon in the <strong class="specialbold">Tools</strong> group.</li><li class="procedurelistnumber">Click the <strong class="specialbold">Browse</strong> button to locate the archive file on your local computer, select the file, and click the <strong class="specialbold">Send File</strong> button.</li></ol><p class="bodytext"></p>
<p class="bodytext">To revert back to the original structure of web server directories and files:</p>
<ol class="procedurelistnumber"><li class="procedurelistnumber">On your Home page, click the <strong class="specialbold">Skeleton</strong> icon.</li><li class="procedurelistnumber">Click the <strong class="specialbold">Default</strong> button.</li></ol>


</body>
<script>highlightTOC()</script>
</html>

